﻿<%@ Page Language="C#" %>

<%@ Import Namespace="wojilu" %>
<%@ Import Namespace="wojilu.View" %>
<%@ Import Namespace="wojilu.Web.Controller" %>
<%@ Import Namespace="wojilu.Apps.Qycms.Domain" %>
<%var lngs = v.data("lngs") as String; %>
<%var read = v.data("read") as System.Data.DataRow; %>
<%ctx.setItem("menuid", "4"); %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wb="”http://open.weibo.com/wb”">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title>#{pageTitle}</title>
    <meta name="Keywords" content="#{pageKeywords}" />
    <meta name="description" content="#{pageDescription}" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
    <meta http-equiv="expires" content="0" />
    <link href="#{templates}css/style.css" rel="stylesheet" />
    <link href="#{templates}css/top.css" rel="stylesheet" />
    <script type="text/javascript" src="#{templates}js/jq1.91.js"></script>
    <link href="#{templates}css/about.css" rel="stylesheet" />
    <link href="#{templates}css/global1.css" rel="stylesheet" />
    <link href="#{templates}css/page.css" rel="stylesheet" />
    <link href="#{templates}css/service1.css" rel="stylesheet" />
    <script type="text/javascript" src="#{templates}js/jQuery1.js"></script>
</head>

<body class="newsbg">
    #{top}
    <!--/*++++++++内容++++++++*/-->


    <div class="clearfix">
        <%var typeread = v.data("typeread") as TypeList; %>
        <h2 class="gCurMenu"><%if (typeread.topid == 0){ %><%=typeread.typename %><%}else{ %><%=TypeList.findById(typeread.topid).typename %><%} %></h2>
        <div class="gMenu clearfix">
            <ul class="pngFix">
                <%var list1 = new List<TypeList>(); %>
                        <%if (typeread.upid == 0)
                          {
                              list1 = TypeList.find(" upid = " + typeread.Id + " order by pid asc,id asc").list();
                          }
                          else
                          {
                              list1 = TypeList.find(" upid = " + typeread.upid + " order by pid asc,id asc").list();
                          } %>
                <%foreach(var row in list1){ %>
                <li <%if(row.Id==typeread.Id){ %>class="cur"<%} %>><a href="<%=row.glink %>"><%=row.typename %></a></li><%} %>
            </ul>
        </div>
        <div class="site">
            <div class="bgblank">
                <div align="center" class="playtr-tit">
                    <h4><%=read["title"] %></h4>
                    <div align="center" class="time"><%=YBBCommon.FormatDate(TypeCon.CDate(read["addtime"]),3) %> 来源：<%=read["author"].IsNull()?"惠州大亚湾石化":read["author"] %> </div>
                </div>
                <div class="newsinfo_con">
                    <%=read["content"] %>
                </div>
                <div class="nextcon">
                    <span class="fRi"><a href="javascript:history.go(-1);">返回上一页</a></span>上一篇：
                <a title="#{pre.Name}" href="#{pre.Url}">#{pre.Name} </a>
                    &nbsp;&nbsp;&nbsp;&nbsp;下一篇：
                <a title="#{next.Name}" href="#{next.Url}">#{next.Name} </a>
                </div>
            </div>
        </div>
    </div>
    #{bottom}
</body>
</html>